﻿using System;
using Microsoft.BusinessData.MetadataModel;
using Microsoft.BusinessData.MetadataModel.Collections;
using Microsoft.BusinessData.Runtime;

namespace BdcRestConnector.Tests
{
    public class MyMethod : IMethod
    {
        private readonly IParameterCollection _parameters;

        public MyMethod(IParameterCollection parameters)
        {
            _parameters = parameters;
        }

        public object[] CreateDefaultParameterInstances(IMethodInstance methodInstance)
        {
            throw new NotImplementedException();
        }

        public IDataClass GetDataClass()
        {
            throw new NotImplementedException();
        }

        public IFilterDescriptorCollection GetFilterDescriptors()
        {
            throw new NotImplementedException();
        }

        public IFilterCollection GetFilters(IMethodInstance methodInstance)
        {
            throw new NotImplementedException();
        }

        public INamedMethodInstanceDictionary GetMethodInstances()
        {
            throw new NotImplementedException();
        }

        public IParameterCollection GetParameters()
        {
            return _parameters;
        }

        public IFilterDescriptorCollection GetSystemFilterDescriptors()
        {
            throw new NotImplementedException();
        }

        public bool IsStatic
        {
            get { throw new NotImplementedException(); }
        }

        public string LobName
        {
            get { throw new NotImplementedException(); }
        }

        public bool ContainsLocalizedDisplayName()
        {
            throw new NotImplementedException();
        }

        public string GetDefaultDisplayName()
        {
            throw new NotImplementedException();
        }

        public string GetLocalizedDisplayName()
        {
            throw new NotImplementedException();
        }

        public ILocalizedNameDictionary GetLocalizedNames()
        {
            throw new NotImplementedException();
        }

        public INamedPropertyDictionary GetProperties()
        {
            throw new NotImplementedException();
        }

        public long Id
        {
            get { throw new NotImplementedException(); }
        }

        public bool IsCached
        {
            get { throw new NotImplementedException(); }
        }

        public string Name
        {
            get { throw new NotImplementedException(); }
        }
    }
}
